package com.haihui.platform.service.dust;

import com.haihui.platform.entity.*;

import java.util.List;

/**
 * Created by HaiHui on 2017/10/13.
 */
public interface DustService {
    List<DustBaseModel> list(DustBaseModel model, PagingBean pagingBean);
    int getCount(DustBaseModel model);
    int add(DustBaseModel model);
    int update(DustBaseModel model);
    DustBaseModel detail(DustBaseModel model);
    int addRegion(Region region);
    int updateRegion(Region region);
    int deleteRegion(Region region);
    List<Region> selectRegions(Region region);
    int addRow(RowModel rowModel);
    int updateRow(RowModel rowModel);
    int deleteRow(RowModel rowModel);
    List<RowModel> selectRows(RowModel rowModel);
    int addGrave(GraveModel graveModel);
    int updateGrave(GraveModel graveModel);
    int deleteGrave(GraveModel graveModel);
    List<GraveModel> selectGraves(GraveModel graveModel);
    int updateDustByGrave(DustBaseModel model);
    int deleteDustByGrave(DustBaseModel model);
    int updateByFirstGrave(DustBaseModel model);
    int updateBySecondGrave(DustBaseModel model);




}
